package com.zimi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zimi.model.SysDutyPrivilege;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 职务功能授权表 mapper
 *
 * @author lnintr
 * @since 2019-05-22
 */
@Mapper
public interface SysDutyPrivilegeMapper extends BaseMapper<SysDutyPrivilege> {
    List<Integer> selectDutyPrivilegeList(int postId);

    List<SysDutyPrivilege> selectDutyPrivilegeListByPosts(List<Integer> postIds);
}
